<div id="content">
{if $this->data['type']==0}
昨日浏览：{$this->data['summary']['view']}<br /><br />
昨日点击：{$this->data['summary']['click']}<br /><br />
昨日购买：{$this->data['summary']['buy']}<br /><br />
查看详细信息：[<a target="main" href="{url('Data','Report',array('type'=>1))}">最新浏览</a>] [<a target="main" href="{url('Data','Report',array('type'=>2))}">最新点击</a>] [<a target="main" href="{url('Data','Report',array('type'=>3))}">最新购买</a>] [<a target="main" href="{url('Data','Report',array('type'=>4))}">热门浏览</a>] [<a target="main" href="{url('Data','Report',array('type'=>5))}">热门点击</a>] [<a target="main" href="{url('Data','Report',array('type'=>6))}">热门购买</a>]
{else}
<div id="box">
<h3 class="title">{$this->data['types'][$this->data['type']]}的商品  [<a target="main" href="{url('Data','Report',array('type'=>1))}">最新浏览</a>] [<a target="main" href="{url('Data','Report',array('type'=>2))}">最新点击</a>] [<a target="main" href="{url('Data','Report',array('type'=>3))}">最新购买</a>] [<a target="main" href="{url('Data','Report',array('type'=>4))}">热门浏览</a>] [<a target="main" href="{url('Data','Report',array('type'=>5))}">热门点击</a>] [<a target="main" href="{url('Data','Report',array('type'=>6))}">热门购买</a>]</h3>
<table width="100%" class="admin-table">
<thead>
	<tr>
    	<th class="a-center">ID</th>
    	<th class="a-center">商品ID</th>
        <th class="a-center">商品名称</th>
        <th class="a-center">浏览/点击/购买数量</th>
    </tr>
</thead>
<tbody>
	{if !empty($this->data['data']['rows'])}
	<!--{loop $this->data['data']['rows'] $k $item}-->
	<tr>
    	<td class="a-center">{$this->data['start']+$k+1}</td>
    	<td class="a-center">{$item['num_id']}</td>
        <td class="a-center"><a href="{$item['url']}" target="_blank">{$item['title']}</a></td>
        <td class="a-center">{$item['view_num']}</td>
    </tr>
    <!--{/loop}-->
    {/if}
</tbody>
</table>
<div id="pager">
{$this->data['pages']}
</div>
</div>
</div>
{/if}